package com.ruoyi.cmenonmetal.mapper;

import com.ruoyi.cmenonmetal.domain.ZxNonmetalOrderForm;

import java.util.Date;
import java.util.List;

/**
 * NonmetalOrderMapper接口
 * 
 * @author zhangxu
 * @date 2021-12-16
 */
public interface ZxNonmetalOrderFormMapper 
{
    /**
     * 查询NonmetalOrder
     * 
     * @param id NonmetalOrder主键
     * @return NonmetalOrder
     */
    public ZxNonmetalOrderForm selectZxNonmetalOrderFormById(Long id);

    /**
     * 查询NonmetalOrder列表
     * 
     * @param zxNonmetalOrderForm NonmetalOrder
     * @return NonmetalOrder集合
     */
    public List<ZxNonmetalOrderForm> selectZxNonmetalOrderFormList(ZxNonmetalOrderForm zxNonmetalOrderForm);

    /**
     * 新增NonmetalOrder
     * 
     * @param zxNonmetalOrderForm NonmetalOrder
     * @return 结果
     */
    public int insertZxNonmetalOrderForm(ZxNonmetalOrderForm zxNonmetalOrderForm);

    /**
     * 修改NonmetalOrder
     * 
     * @param zxNonmetalOrderForm NonmetalOrder
     * @return 结果
     */
    public int updateZxNonmetalOrderForm(ZxNonmetalOrderForm zxNonmetalOrderForm);

    /**
     * 删除NonmetalOrder
     * 
     * @param id NonmetalOrder主键
     * @return 结果
     */
    public int deleteZxNonmetalOrderFormById(Long id);

    /**
     * 批量删除NonmetalOrder
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZxNonmetalOrderFormByIds(Long[] ids);

    /**
     * 根据日期查询结果
     *
     * @param begainDate 需要查询的日期
     * @return 结果
     */
    public List<ZxNonmetalOrderForm> selectZxNonmetalOrderBydate(Date begainDate);
}
